package com.Register.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "register.jwt")
@Data
public class JwtProperties {

    /**
     * web端管理员生成jwt令牌相关配置
     */
    private String webAdminSecretKey;
    private long webAdminTtl;
    private String webAdminTokenName;

    /**
     * 小程序端微信用户生成jwt令牌相关配置
     */
    private String appletSecretKey;
    private long appletTtl;
    private String appletTokenName;

}
